package com.moive.news.tqnewsapplication.networks;

/**
 * Created by Administrator on 2017/12/6.
 */
public class BaseApi {
    //空间名
    public static String SPACE = "aixiaodao";
    //操作员
    public static String OPERATER = "liming";
    //密码
    public static String PASSWORD = "Lm123456";
    // 内网：用户
//    public static final String BASEURL = "http://192.168.0.222:8083/";
//    public static final String BASEURL02 = "http://192.168.0.222:8082/";
    //外网
    public static final String BASEURL02 = "http://116.62.120.162:8082/";
    public static final String BASEURL = "http://116.62.120.162:8083/";
    //图片域名
    public static final String BASEUR_IMG = "http://aixiaodao.xamarinstudy.com";
    //新闻种类
    public static final String NEWS_TYPE = BASEURL+"tqnew/news/category";
    //分类新闻内容
    public static final String NEWS_TYPE_ITEM = BASEURL+"tqnew/news/get";
    //拼接新闻详细url
    public static final String NEWS_TYPE_ITEM_TYPE= BASEURL+"tqnew/news/detail?id=";
//    tqcrm/user/loginByTelephone
//登录接口
    public static final String LOGIN= BASEURL02+"tqcrm/user/loginByTelephone";
    //发送验证码接口
    public static final String SEND_CODE= BASEURL02+"tqcrm/user/sendCode";
    //发表建议
    public static final String FEEDBACK= BASEURL+"tqnew/advice/add";
    //删除token
    public static final String DELTEToken= BASEURL02+"tqcrm/user/delToken";
    //用token找用户信息
    public static final String FINDINFO= BASEURL02+"tqcrm/user/findUserByToken";
    //发表动态content=%E4%BB%8A%E5%A4%A9%E5%A5%BD%E5%BC%80%E5%BF%83%E5%95%8A&token=157856e969db4c6e9ce4a61de7b411
    public static final String PUTDYNA= BASEURL02+"/tqcrm/emotions/add";
    //自身动态token=157856e969db4c6e9ce4a61de7b41123&page=1&rows=2
    public static final String MYDYNA= BASEURL02+"tqcrm/emotions/all";
    //动态评论emotionID=4028805e6052fbc4016052fbdef70000&token=157856e969db4c6e9ce4a61de7b41123  —-动态详情
    public static final String DYMADEL= BASEURL02+"tqcrm/emotions/comment/all";
    //发表评论 token=123toUserID=4&emotionID=40004&content=%E8%AE%BA&parentCommentID=402
    public static final String COMMENT= BASEURL02+"tqcrm/emotions/comment/add";
    //修改用户所有信息
    public static final String UPDATAUSER= BASEURL02+"tqcrm/user/update";
    //查询粉丝和关注数量
    public static final String SRARCH_FANS= BASEURL02+"tqcrm/user/amount";
    //动态朋友圈token=157856e969db4c6e9ce4a61de7b41123&page=1&rows=3   —朋友圈动态
    public static final String FRIENDS_DYMIC= BASEURL02+"tqcrm/emotions/all/friend";
    //点赞接口emotionsID=4028805e605978a701605979dc5f0000&token=
    public static final String LIKE= BASEURL02+"tqcrm/emotions/doLike";
    //投稿token=157&title=%BF&content=%E%A8%BF1111&pic=1111&category=%E5%9D%A1
    public static final String PUTNEWS= BASEURL+"tqnew/news/contribute";
    //收藏
    public static final String COLLECT= BASEURL+"tqnew/news/star";
    //收藏列表
    public static final String COLLECT_LIST= BASEURL+"tqnew/news/star/all";
    //投稿记录token=35493d2f9e534d9ea8e12f6f6a4dcf95&page=1&rows=10
    public static final String PUTNEWS_HISTOR= BASEURL+"tqnew/news/contribute/all";
    //查看历史记录oken=35493d2f9e534d9ea8e12f6f6a4dcf95&page=1&rows=1
    public static final String HISTOR_ALL= BASEURL+"tqnew/news/history/all";
    //推荐关注列表token=3a4dcf95&page=1&rows=40
    public static final String  RECOMMEND_LIST= BASEURL02+"tqcrm/user/recommendUser";
    //查看粉丝列表userID=593860000&page=1&rows=4
    public static final String  FAN_LIST= BASEURL02+"tqcrm/user/followed/all";
    //查看我的关注列表  userID=4028805e604de54801604de593860000&page=1&rows=40
    public static final String  ME_GUANZHU_LIST= BASEURL02+"tqcrm/user/follow/all";
     //关注一个用户token=352f6f6a4dcf95&followID=40288
     public static final String  GUANZHU_ONE= BASEURL02+"tqcrm/user/follow";
    //取消一个用户关注token=3546a4d95&followID=4028
    public static final String  UN_GUANZHU= BASEURL02+"tqcrm/user/unFollow";
    //nickName=1&page=1&rows=10  —用昵称查找用户
    public static final String  SEARCH= BASEURL02+"tqcrm/user/findByNickName";
    //对新闻评论
    public     static final String  NEWS_COMMENT= BASEURL+"tqnew/news/comment/add";
    //查看所有新闻评论
    public     static final String  NEWS_LOOK_COMMENT= BASEURL+"tqnew/news/comment/all";
    //新闻点赞
    public     static final String  NEWS_DIANZAN= BASEURL+"tqnew/news/like";
    //获取点赞评论数量
    public     static final String  NEWS_NUMBER= BASEURL+"tqnew/news/amount";
    //注册
    public     static final String  RIGEST= BASEURL02+"tqcrm/user/regist";
    //找回密码
    public     static final String  BACKPWD= BASEURL02+"tqcrm/user/forgetPassword";
    //上传imei
    public     static final String  UPIMEI= BASEURL02+"tqcrm/user/IMEI";
}
